package com.example.programming.sendemail;

import org.springframework.mail.javamail.JavaMailSenderImpl;

public class JMSI {
    public JavaMailSenderImpl mailSender() {
        JavaMailSenderImpl mailSender = new JavaMailSenderImpl();
        mailSender.setHost("smtp.qq.com");
        mailSender.setUsername("2034732681@qq.com");
        mailSender.setPassword("gupalljcwwcgehdi");
        return mailSender;
    }
}
